<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动案例</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        img{
            width: 187px;
            height: 125px;
        }
        p{
            font-size: 12px;
            text-align: center;
            background: #f6f7f8;
            width: 187px;
        }
        div{
            float: left;
        }
    </style>
</head>
<body>
    <div>
        <img src="img/snow_helansan.jpeg" alt="贺兰山">
        <p>雪后贺兰山风景如画</p>
    </div>
    <div>
        <img src="img/snow_tower.jpeg" alt="雪塔">
        <p>雪落古塔 静谧如画</p>
    </div>
    <div>
        <img src="img/year_pig_rice.jpeg" alt="年猪饭">
        <p>徽州年猪宴里年味浓</p>
    </div>
    <div>
        <img src="img/wu_tong_year.jpeg" alt="梧州年货">
        <p>广西梧州年货街热闹非凡</p>
    </div>
    <div>
        <img src="img/snow_play.jpeg" alt="冰雪运动">
        <p>攀冰爱好者感受冰雪运动快乐</p>
    </div>
</body>
</html>